package com.example;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author wangxiaohui
 * @date 2023/3/3 13:54
 */
public class Letcode001 {

    public static void main(String[] args) {
        int[] nums = new int[4];
        nums[0] = 3;
        nums[1] = 2;
        nums[2] = 4;

        int[] ints = Letcode001.twoSum(nums, 6);
        System.out.println(ints[0] + "====" + ints[1]);
    }
    public static int[] twoSum(int[] nums, int target) {
        int[] res = new int[2];
        int length = nums.length;
        int r = -1;
        int index = -1;

        res[0] = r;
        res[1] = index;
        return res;
    }
}
